package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Mobile   string  `json:"mobile" gorm:"type:varchar(11);unique;not null;comment:手机号"`
	Password string  `json:"password" gorm:"type:varchar(11);not null;comment:密码"`
	Points   float64 `json:"points" gorm:"type:decimal(10,2);not null;comment:积分"`
}
